package com.eastfair.mobile.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.eastfair.boot.request.PageParams;
import com.eastfair.venueservice.dto.ViolationRecordDTO;
import com.eastfair.venueservice.dto.ViolationRecordPageQuery;
import com.eastfair.venueservice.vo.ViolationRecordVO;

/**
 * @Author lyw
 * @Date 2022/9/13 20:24
 */
@Deprecated
public interface MobileViolationRecordService {

    /**
     * 保存违规惩罚记录
     * @param violationRecordDTO
     * @return
     */
    Boolean saveViolationRecordInfo(ViolationRecordDTO violationRecordDTO);

    /**
     * 查询违规惩罚记录列表分页
     * @param params
     * @return
     */
    Page<ViolationRecordVO> queryViolationRecordList(PageParams<ViolationRecordDTO> params);

    /**
     * 查询违规惩罚记录详情
     * @param violationRecordDTO
     * @return
     */
    ViolationRecordVO queryViolationRecordInfo(ViolationRecordDTO violationRecordDTO);

    /**
     * 修改违规惩罚记录
     * @param violationRecordDTO
     * @return
     */
    Boolean updateViolationRecordInfo(ViolationRecordDTO violationRecordDTO);

    /**
     * 删除违规惩罚记录
     * @param id
     * @return
     */
    Boolean delViolationRecordInfo(Long id);


}
